package com.hschinese.pronunciation.widget;

import android.content.Context;
import android.view.View;

/**
 * Created by wo on 2015/11/12.
 */
public class MyGestureListener extends GestureListener {
    private StudyWordsView mView;
    public MyGestureListener(Context context, StudyWordsView v) {
        super(context);
        mView = v;
    }

    @Override
    public boolean left() {
        mView.nextWord();
        return true;
    }

    @Override
    public boolean right() {
        mView.beforeWord();
        return true;
    }
}
